package com.drivers.model.historyorder;

import lombok.Data;

@Data

public class OrderInformation {

  //主键ID
  private Integer id;
  //订单编号
  private String orderId;
  //订单类型（1.实时白叫车2.实时代叫车，3.实时货运，4.预约白叫车5.预约代叫车6.预约货运）
  private Integer orderType;
  //用户id(外键)
  private Integer userId;
  //司机id(外键)
  private Integer driverId;
  //乘客姓名
  private String passengerName;
  //乘客手机号
  private String passengerPhone;
  //出发点(经纬度)
  private String startingPoint;
  //目的地(经纬度)
  private String destination;
  //订单状态(0未完成,1待付款,2已完成,3已取消)
  private Integer orderStatus;
  //订单里程
  private String orderMileage;
  //司机评价id(外键)
  private Integer driverAppraiseId;
  //司机投诉id(外键)
  private Integer driverComplaintsId;
  //用户投诉id(外键)
  private Integer userComplaintsId;
  //聊天id(外键)
  private Integer chatId;
  //出发地地址
  private String startingPointAddress;
  //目的地地址
  private String destinationAddress;
  //取消原因
  private String closeCause;

}
